package com.yf.domain.dict;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;
import java.util.List;

/**
 * @author chentianwei
 * @date 2023/4/17 13:48
 * @description Dict domain
 */

@Getter
@Setter
@TableName(value = "sys_dict")
public class Dict implements Serializable {

    @TableId(value = "id",type = IdType.AUTO)
    private Long id;

    @TableField(exist = false)
    private List<DictDetail> dictDetail;

    @TableField(value = "name")
    private String name;

    @TableField(value = "description")
    private String description;
}
